<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="恢复HBase备份集">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="hbase_00044.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="hbase_00047">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>恢复HBase备份集</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="hbase_00047"></a><a name="hbase_00047"></a>
  <h1 class="topictitle1">恢复HBase备份集</h1>
  <div>
   <p>当需要对已备份的HBase备份集进行恢复时，可以参考本节恢复HBase备份集至原位置或新位置。</p>
   <div class="section">
    <h4 class="sectiontitle">背景信息</h4>
    <p>支持使用备份副本、复制副本、导入的副本进行恢复。支持恢复至原位置（复制副本不支持恢复至原位置）或新位置。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="hbase_00047__hbase_00043_zh-cn_topic_0000001839142377_uicontrol161751858496">“<span id="hbase_00047__hbase_00043_zh-cn_topic_0000001839142377_text3175185114918">数据利用</span> &gt; <span id="hbase_00047__hbase_00043_zh-cn_topic_0000001839142377_text1117515124916">副本数据</span> &gt; <span id="hbase_00047__hbase_00043_zh-cn_topic_0000001839142377_text58221719218">大数据</span> &gt; HBase”</span>。</span></li>
     <li><span>您可以以HBase备份集资源维度或以副本维度查找副本，本节以资源维度为例进行说明。</span><p></p><p>在“资源”页签，根据备份集名称查找到需要恢复的备份集，并单击备份集名称。</p> <p></p></li>
     <li><span>在<span class="uicontrol">“<span>副本数据</span>”</span>页签，依次选择年、月、天找到副本。</span><p></p><p>当时间上显示<span><img src="zh-cn_image_0000001839187997.png"></span>，即表示该月、该天存在副本。</p> <p></p></li>
     <li><span>指定副本或时间点进行恢复。</span><p></p>
      <div class="p">
       您可以指定副本或指定时间点进行恢复。
       <ol type="a">
        <li>指定副本或指定时间点进行恢复。
         <ul>
          <li>指定副本进行恢复<p><span><img class="eddx" src="zh-cn_image_0000001792388908.png"></span></p></li>
          <li>指定时间点进行恢复。<p><span><img class="eddx" src="zh-cn_image_0000001839267961.png"></span></p> <p>时间轴上蓝色覆盖区域均可进行时间点恢复，<span><img src="zh-cn_image_0000001839267957.png"></span>表示该时间点存在全量备份副本或永久增量（合成全量）副本。如果需要进行时间点恢复，请确保待恢复到的时间点或之前存在非日志备份的副本，且在该时间点之后进行过日志备份。</p>
           <div class="note">
            <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
            <div class="notebody">
             <ul id="hbase_00047__oracle_gud_0058_ul75802612312">
              <li id="hbase_00047__oracle_gud_0058_li1497342618234">对于1.5.0版本，时间轴上最多仅展示100个副本，单击<span><img id="hbase_00047__oracle_gud_0058_image173544102299" src="zh-cn_image_0000001886153709.png"></span>可以查看所有副本。</li>
              <li id="hbase_00047__oracle_gud_0058_li95818264231">执行时间点恢复时，由于管理界面无法获取恢复时所使用的副本信息，因此，在恢复任务和相关的事件页面，用户无法看到该恢复任务的副本信息。</li>
             </ul>
            </div>
           </div></li>
         </ul></li>
        <li>恢复HBase备份集至原位置或新位置。
         <div class="p">
          相关参数说明如<a href="#hbase_00047__table194961441141219">表1</a>。 
          <div class="tablenoborder">
           <a name="hbase_00047__table194961441141219"></a><a name="table194961441141219"></a>
           <table cellpadding="4" cellspacing="0" summary="" id="hbase_00047__table194961441141219" frame="border" border="1" rules="all">
            <caption>
             <b>表1 </b>恢复HBase命名空间或表
            </caption>
            <colgroup>
             <col style="width:32.019999999999996%">
             <col style="width:67.97999999999999%">
            </colgroup>
            <thead align="left">
             <tr>
              <th align="left" class="cellrowborder" valign="top" width="32.019999999999996%" id="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1"><p>参数</p></th>
              <th align="left" class="cellrowborder" valign="top" width="67.97999999999999%" id="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2"><p>说明</p></th>
             </tr>
            </thead>
            <tbody>
             <tr>
              <td class="cellrowborder" valign="top" width="32.019999999999996%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1 "><p><span>恢复至</span></p></td>
              <td class="cellrowborder" valign="top" width="67.97999999999999%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2 "><p>选择恢复至<span class="uicontrol">“<span>原位置</span>”</span>或<span class="uicontrol">“<span>新位置</span>”</span>。</p></td>
             </tr>
             <tr>
              <td class="cellrowborder" valign="top" width="32.019999999999996%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1 "><p><span>目标集群</span></p></td>
              <td class="cellrowborder" valign="top" width="67.97999999999999%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2 "><p>当选择恢复至<span class="uicontrol">“<span>新位置</span>”</span>时，请选择恢复到的目标HBase集群。</p></td>
             </tr>
             <tr>
              <td class="cellrowborder" valign="top" width="32.019999999999996%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1 "><p><span>命名空间</span></p></td>
              <td class="cellrowborder" valign="top" width="67.97999999999999%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2 "><p>当选择恢复至<span class="uicontrol">“<span>新位置</span>”</span>时，请选择恢复到的目标命名空间。</p></td>
             </tr>
             <tr>
              <td class="cellrowborder" valign="top" width="32.019999999999996%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1 "><p><span>请选择</span></p></td>
              <td class="cellrowborder" valign="top" width="67.97999999999999%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2 "><p>当恢复路径中存在表时，选择替换或跳过已存在的表。</p>
               <ul>
                <li><span>忽略已存在的表</span>，即跳过这些同名表不替换。</li>
                <li><span>直接替换已经存在的表</span></li>
               </ul></td>
             </tr>
             <tr>
              <td class="cellrowborder" valign="top" width="32.019999999999996%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.1 "><p><span>临时目录</span></p></td>
              <td class="cellrowborder" valign="top" width="67.97999999999999%" headers="mcps1.3.3.2.4.2.1.1.2.1.2.2.3.1.2 "><p>当使用<span class="uicontrol">“<span>日志备份</span>”</span>产生的副本执行恢复时，才需要配置该参数，用于存放恢复过程中的日志文件。请确保HBase集群中存在该目录且空间充足。</p></td>
             </tr>
            </tbody>
           </table>
          </div>
         </div></li>
        <li>单击<span class="uicontrol">“确定”</span>。</li>
       </ol>
      </div> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="hbase_00044.html">恢复</a>
    </div>
   </div>
  </div>
 </body>
</html>